package com.geeguo.ebuilder.operation.business.tenant.datasourceinfo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.geeguo.ebuilder.operation.business.tenant.datasourceinfo.model.DataSourceInfoEntity;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface DataSourceInfoMapper extends BaseMapper<DataSourceInfoEntity> {

    IPage<DataSourceInfoEntity> list(Page<DataSourceInfoEntity> page, @Param("params") Map<String, Object> params);

    Integer updateByParams(@Param("params") Map<String, Object> changeValues);
}

